package org.huifei.a1_commonfactory;

/**
 * Created by huifei on 2017/7/11.
 */
public class Test {

    public static void main(String[] args) {

        //普通工厂模式
        CommonFactory commonFactory = new CommonFactory();

        Sender sender = commonFactory.produce("sms");

        sender.send();

    }

}
